﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using eLoan.Models;

namespace eLoan.Models
{
    public class LoanPenaltyModel
    {
        [Display(Name = "Select a branch")]
        public IEnumerable<SelectListItem> Branches { get; set; }

        public string SelectedBranchCode { get; set; }

        [Display(Name = "Search text")]
        public string SearchText { get; set; }

        public List<LoanPenaltyQueryModel> PenaltyList { get; set; }

        public List<LoanPenaltyQueryModel> DelayedLoans { get; set; }

        public List<LoanPenaltyQueryModel> DelinquentLoans { get; set; }

        [Display(Name = "Total Penalty")]
        public decimal TotalPenalty { get; set; }

        [Display(Name = "Total Paid Penalty")]
        public decimal TotalPaidPenalty { get; set; }
    }
}